﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace CheemsControl.Models
{
    /// <summary>
    /// 饼图数据
    /// </summary>
    public class SinglePieChartData
    {
        public SinglePieChartData()
        {
            Background = new SolidColorBrush(Color.FromArgb(0xFF, 0xEE, 0xEE, 0xEE));
            BorderBursh = new SolidColorBrush(Color.FromArgb(0xFF, 0x66, 0x66, 0x66));
            BorderThickness = 1;
        }

        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        public double Value { get; set; }

        /// <summary>
        /// 背景色
        /// </summary>
        public Brush Background { get; set; }

        /// <summary>
        /// 边框颜色
        /// </summary>
        public Brush BorderBursh { get; set; }

        /// <summary>
        /// 边框粗细
        /// </summary>
        public double BorderThickness { get; set; }
    }
}
